package cn.jlearn.proxy.web.enums;

import cn.jlearn.proxy.web.pojo.BaseEnum;

/**
 * @author qianyingchao
 * @version 1.0
 * @date 2021/7/19 11:11 下午
 */
public enum TunnelOnlineEnum implements BaseEnum<String, String> {

    /**
     * 在线、离线状态表示
     */
    ONLINE("online", "在线"),
    OFFLINE("offline", "离线"),
    ;

    public final String code;

    public final String remark;

    TunnelOnlineEnum(String code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getRemark() {
        return remark;
    }

}
